projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd37f91
)
(dissociated-press): Error at start if buffer is empty.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 26 Jul 1994 15:51:56 +0000
(15:51 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 26 Jul 1994 15:51:56 +0000
(15:51 +0000)
lisp/play/dissociate.el
patch
|
blob
|
history
diff --git
a/lisp/play/dissociate.el
b/lisp/play/dissociate.el
index 6939f320f7993d91f7d1b94bfd02711338640b5b..2f564151db7ed67d9425794d0833f7249a7502aa 100644
(file)
--- a/
lisp/play/dissociate.el
+++ b/
lisp/play/dissociate.el
@@
-45,6
+45,8
@@
Default is 2."
(move-amount (if (> arg 0) arg (- arg)))
(search-function (if (> arg 0) 'search-forward 'word-search-forward))
(last-query-point 0))
+ (if (= (point-max) (point-min))
+ (error "The buffer contains no text to start from"))
(switch-to-buffer outbuf)
(erase-buffer)
(while